Camoo\Pay\WooCommerce\WC_CamooPay_Gateway S

Total Complexity 41
Dependencies 15
Dependents 1
Total lines 510
Lines of code 385
Logical lines of code 138
Comment lines 31
Methods 16
Properties 5

Methods 16

Method Rating Maintainability Complexity Lines of code
onNotification()
A
43 7 53
process_payment()
S
44 6 43
init_form_fields()
S
39 1 81
validate_fields()
S
55 4 21
payment_fields()
S
49 3 35
process_admin_options()
S
49 3 33
prepareOrderData()
S
47 2 36
__construct()
S
55 3 18
get_icon()
S
55 2 20
placeOrder()
S
59 2 15
handleOrderResponse()
S
63 2 11
normalizeXafAmount()
S
70 2 6
can_refund_order()
S
82 1 3
registerHooks()
S
78 1 3
getWcOrder()
S
79 1 3
cleanUpPhone()
S
74 1 4